package org.jeecg.modules.online.cgform.enums;

public interface CgformConstant {

	/**
	 * online表单类型
     * 1单表、2主表、3附表
	 */
	public static final Integer ONLINE_TABLE_TYPE_SUB = 3;
	public static final Integer ONLINE_TABLE_TYPE_ONE = 1;
	public static final Integer ONLINE_TABLE_TYPE_MAIN = 2;


	/**
	 * JS增强变更主方法名
	 *  单表： onlChange
	 *  子表： {表名}_onlChange
	 */
	public static final String ONLINE_JS_CHANGE_FUNCTION_NAME = "onlChange";

    /**
     * Java增强buttonCode：新增
     */
    String ENHANCE_JAVA_BUTTON_ADD = "add";
    /**
     * Java增强buttonCode：编辑
     */
    String ENHANCE_JAVA_BUTTON_EDIT = "edit";
    /**
     * Java增强buttonCode：删除
     */
    String ENHANCE_JAVA_BUTTON_DELETE = "delete";
    /**
     * Java增强buttonCode：导入
     */
    String ENHANCE_JAVA_BUTTON_IMPORT = "import";
    /**
     * Java增强buttonCode：导出
     */
    String ENHANCE_JAVA_BUTTON_EXPORT = "export";
    /**
     * Java增强buttonCode：查询
     */
    String ENHANCE_JAVA_BUTTON_QUERY = "query";

    /**
     * 数据库同步状态：Y
     */
    String DB_SYNCH_Y = "Y";
    /**
     * 数据库同步状态：N
     */
    String DB_SYNCH_N = "N";
}
